package com.zsgeek.entity;
/**
 * 登录用户信息实体类
 * @author malu
 *
 */
public class User {
	
	/**
	 * 自增长id
	 */
	private int id;
	/**
	 * 用户登录的帐户名
	 */
	private String userName;
	/**
	 * 用户登录密码，MD5加密后存储
	 */
	private String password;
	/**
	 * 用户Email
	 */
	private String email;
	/**
	 * 用户角色。0：管理员，1，会员用户
	 */
	private int role;
	/**
	 * 手机号码
	 */
	private String mobile;
	/**
	 * 预充值余额，后继不使用
	 */
	private Float balance;
	/**
	 * 累计支付总额，包含手续费和产品价格
	 */
	private Float totalUsed;
	/**
	 * 手续费支付累计总额
	 */
	private String totalFee;
	/**
	 * 产品支付累计总额
	 */
	private String totalProductPaid;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Float getBalance() {
		return balance;
	}
	public void setBalance(Float balance) {
		this.balance = balance;
	}
	public Float getTotalUsed() {
		return totalUsed;
	}
	public void setTotalUsed(Float totalUsed) {
		this.totalUsed = totalUsed;
	}
	public String getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(String totalFee) {
		this.totalFee = totalFee;
	}
	public String getTotalProductPaid() {
		return totalProductPaid;
	}
	public void setTotalProductPaid(String totalProductPaid) {
		this.totalProductPaid = totalProductPaid;
	}
	
	
	
	
}
